package org.llc.authorization.mapper;

import org.springframework.stereotype.Repository;
import org.llc.common.starter.model.Role;

import java.util.List;

/**
 * 用户角色Mapper
 *
 * @author llc
 * @date 2018/4/2 19:50
 * @since 1.0.0
 */
@Repository
public interface RoleMapper {

    /**
     * 按照用户账户id查询角色
     *
     * @param accountId 用户账户id
     * @return java.util.List<com.mogu.oauth.model.Role>
     * @author llc
     * @date 2019/2/22 16:09
     */
    List<Role> selByUserId(Long accountId);
}